<?php


/**
 * 大厅 & 房间 & 游戏汇总信息
 */

//房间信息数组
$GLOBALS['rooms'] = [];

//大厅座位详情数组 请不要在意这些细节
$GLOBALS['hall'] = [
    '21-1A'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-1B'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-1C'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-1D'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-1E'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-2A'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-2B'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-2C'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-2D'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-2E'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-3A'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-3B'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-3C'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-3D'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-3E'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-4A'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-4B'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-4C'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-4D'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
    '21-4E'  =>  [
        'user_a'=>'off','user_b'=>'off','user_c'=>'off','status'=>'off','pokers'=>[],'whosturn'=>'',
        'user_a_status'=>'空闲','user_b_status'=>'空闲','user_c_status'=>'空闲',
        'user_a_score'=>0,'user_b_score'=>0,'user_c_score'=>0,
        'user_a_pokers'=>'','user_b_pokers'=>'','user_c_pokers'=>'',
        'user_a_nick'=>'off','user_b_nick'=>'off','user_c_nick'=>'off',
        'user_a_point'=>'off','user_b_point'=>'off','user_c_point'=>'off'],
];


/**
 * 扑克牌数组 后缀：1代表黑桃 2代表红桃 3代表梅花 4代表方块
 */
$GLOBALS['poker_list'] = [
	'Joker1'    =>     '-3',
	'Joker2'    =>     '-3',
	'A_1'       =>     '1',
	'A_2'	    =>     '1',
	'A_3'	    =>     '1',
	'A_4'	    =>     '1',
	'TWO_1'	    =>     '2',
	'TWO_2'	    =>     '2',
	'TWO_3'	    =>     '2',
	'TWO_4'	    =>     '2',
	'THREE_1'   =>     '3',
	'THREE_2'   =>     '3',
	'THREE_3'   =>     '3',
	'THREE_4'   =>     '3',
	'FOUR_1'    =>     '4',
	'FOUR_2'    =>     '4',
	'FOUR_3'    =>     '4',
	'FOUR_4'    =>     '4',
	'FIVE_1'    =>	   '5',
	'FIVE_2'    =>     '5',
	'FIVE_3'	=>	   '5',
	'FIVE_4'    =>	   '5',
	'SIX_1'     =>     '6',
	'SIX_2'     =>     '6',
	'SIX_3'     =>     '6',
	'SIX_4'     =>     '6',
	'SEVEN_1'   =>     '7',
	'SEVEN_2'   =>     '7',
	'SEVEN_3'   =>     '7',
	'SEVEN_4'   =>     '7',
	'EIGHT_1'   =>     '8',
	'EIGHT_2'   =>     '8',
	'EIGHT_3'   =>     '8',
	'EIGHT_4'   =>     '8',
	'NINE_1'    =>     '9',
	'NINE_2'    =>     '9',
	'NINE_3'    =>     '9',
	'NINE_4'    =>     '9',
	'TEN_1'     =>     '10',
	'TEN_2'     =>     '10',
	'TEN_3'     =>     '10',
	'TEN_4'     =>     '10',
	'J_1'       =>     '1',
	'J_2'       =>     '1',
	'J_3'       =>     '1',
	'J_4'       =>     '1',
	'Q_1'       =>     '1',
	'Q_2'       =>     '1',
	'Q_3'       =>     '1',
	'Q_4'       =>     '1',
	'K_1'       =>     '1',
	'K_2'       =>     '1',
	'K_3'       =>     '1',
	'K_4'       =>     '1',
];